#ifndef SLEPRANDOMDATA_H
#define SLEPRANDOMDATA_H

#include "slepfileoperations.h"
#include "slepfiletable.h"
#include <QWizard>
#include <QButtonGroup>
#include <QRadioButton>
#include <QLabel>
#include <QDoubleSpinBox>
#include <QLineEdit>
#include <QPushButton>

class SLEPRandomDataWizard: public QDialog{
    Q_OBJECT
public:
    SLEPRandomDataWizard(SLEPItem &item, QWidget *parent=0);
    ~SLEPRandomDataWizard();

private slots:
        void actOnOkay();
        void actOnCancel();
        void selectionChanged(int i);

private:
    void populateRandMatrix();
    void populateRandSparseMatrix();
    void populateRandVector();
    void populateRandSparseVector();
    void populateRandSingleValue();

    SLEPItem &localItem;
    QButtonGroup *buttonGroupType;
    QLabel *labelType;
    QLabel *labelDensity;
    QDoubleSpinBox *spinBoxDensity;
    QLabel *labelDimension;
    QLineEdit *lineEditDimension1, *lineEditDimension2;
    QPushButton *okay, *cancel;
};


#endif // SLEPRANDOMDATA_H
